import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', {
  state: ()=>{
    return {
      userInfo:{

      },
      userState:true,
    }
  },
  actions:{
    changeUser(userInfo){
      this.userInfo ={...userInfo};
    },
    changeUserState(){
      this.userState = !this.userState;
    }
  }

})
